﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace SimpleScheduler.Core.Domain
{
    [XmlRoot("Properties")]
    [Serializable]
    public class PropertyCollection : List<Property>
    {
        public Property this[string Name]
        {
            get
            {
                return Find(x => x.Name == Name);
            }
        }
    }
}